package com.sicpa.system.service;

import com.sicpa.common.core.domain.AjaxResult;
import com.sicpa.common.core.domain.entity.AntiCounterfeitingUpdateContract;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * IAntiCounterfeitingUpdateContract
 *
 * @author lwf
 */
public interface IAntiCounterfeitingUpdateContractService {

    /**
     * 事务所申请修改联系人
     *
     * @param antiCounterfeitingUpdateContract
     * @return
     */
    AjaxResult applyUpdateContacts(AntiCounterfeitingUpdateContract antiCounterfeitingUpdateContract);

    /**
     * 查询申请修改联系人列表
     *
     * @param antiCounterfeitingUpdateContract
     * @return
     */
    List<Map<String, Object>> list(AntiCounterfeitingUpdateContract antiCounterfeitingUpdateContract);

    /**
     * 处理修改联系人审批
     *
     * @param antiCounterfeitingUpdateContract
     */
    void processApplications(AntiCounterfeitingUpdateContract antiCounterfeitingUpdateContract);

    /**
     * 导出申请修改联系人列表
     *
     * @param updateContract
     * @param response
     * @throws IOException
     */
    void export(AntiCounterfeitingUpdateContract updateContract, HttpServletResponse response) throws IOException, InvalidFormatException;

}
